<?xml version="1.0" encoding="utf-8"?>
<ns0:RootWorkflowActivityWithData x:Class="Microsoft.SharePoint.Workflow.ROOT" x:Name="ROOT" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:Microsoft.SharePoint.WorkflowActions;Assembly=Microsoft.SharePoint.WorkflowActions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=null">
	<ns0:RootWorkflowActivityWithData.WorkflowFields>
		<ns0:WorkflowDataField Name="__list" Type="System.String" />
		<ns0:WorkflowDataField Name="__item" Type="System.Int32" />
		<ns0:WorkflowDataField Name="__context" Type="Microsoft.SharePoint.WorkflowActions.WorkflowContext" />
		<ns0:WorkflowDataField Name="__initParams" Type="Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties" />
		<ns0:WorkflowDataField Name="__workflowId" Type="System.Guid" />
		<ns0:WorkflowDataField Name="InventoryID" Type="System.Int32" />
		<ns0:WorkflowDataField Name="calc" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double0" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double1" Type="System.Double" />
		<ns0:WorkflowDataField Name="NewQuantity" Type="System.Double" />
		<ns0:WorkflowDataField Name="calc1" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double2" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int321" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Int322" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable0" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="_x005f_Double3" Type="System.Double" />
		<ns0:WorkflowDataField Name="calc2" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double4" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int323" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Double5" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int324" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable1" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="calc3" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double6" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int325" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Double7" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int326" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable2" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="calc4" Type="System.Double" />
		<ns0:WorkflowDataField Name="calc5" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double8" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int327" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Double9" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int328" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable3" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="calc6" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double10" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double11" Type="System.Double" />
		<ns0:WorkflowDataField Name="calc7" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double12" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int329" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Int3210" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable4" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="calc8" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double14" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3212" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable5" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="_x005f_Double13" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3211" Type="System.Int32" />
		<ns0:WorkflowDataField Name="calc9" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double15" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3213" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Double16" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3214" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable6" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="calc10" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double17" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3215" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Double18" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3216" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable7" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="calc11" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double20" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3217" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Double21" Type="System.Double" />
		<ns0:WorkflowDataField Name="calc12" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double22" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3218" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Double23" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int3219" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable8" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable9" Type="System.Collections.Hashtable" />
		<ns0:WorkflowDataField Name="_x005f_Double24" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_String1" Type="System.String" />
		<ns0:WorkflowDataField Name="_x005f_Int3220" Type="System.Int32" />
		<ns0:WorkflowDataField Name="calc13" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double19" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double25" Type="System.Double" />
		<ns0:WorkflowDataField Name="calc14" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Double26" Type="System.Double" />
		<ns0:WorkflowDataField Name="_x005f_Int320" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Int3221" Type="System.Int32" />
		<ns0:WorkflowDataField Name="_x005f_Hashtable10" Type="System.Collections.Hashtable" />
	</ns0:RootWorkflowActivityWithData.WorkflowFields>
	<ns0:OnWorkflowActivated WorkflowProperties="{ActivityBind ROOT,Path=__initParams}" x:Name="ID1">
		<ns0:OnWorkflowActivated.CorrelationToken>
			<wf0:CorrelationToken Name="refObject" OwnerActivityName="ROOT" xmlns:wf0="http://schemas.microsoft.com/winfx/2006/xaml/workflow" />
		</ns0:OnWorkflowActivated.CorrelationToken>
	</ns0:OnWorkflowActivated>
	<ns0:ApplyActivation __Context="{ActivityBind ROOT,Path=__context}" x:Name="ID2" __WorkflowProperties="{ActivityBind ROOT,Path=__initParams}" />
	<IfElseActivity x:Name="ID117" Description="Prepare for workflow">
		<IfElseBranchActivity x:Name="ID3">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID3" />
			</IfElseBranchActivity.Condition>
			<TerminateActivity x:Name="ID126" Error="stopping loop" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID125">
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID128" FieldName="ITItem" LookupFunction="LookupInt" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Int3220" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:SetVariableActivity x:Name="ID127" ValueType="System.Int32">
				<ns0:SetVariableActivity.Variable>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:SetVariableActivity.Variable>
				<ns0:SetVariableActivity.Value>
					<ActivityBind Name="ROOT" Path="_x005f_Int3220" />
				</ns0:SetVariableActivity.Value>
			</ns0:SetVariableActivity>
		</IfElseBranchActivity>
	</IfElseActivity>
	<IfElseActivity x:Name="ID7" Description="Adjust item for changes to the sale">
		<IfElseBranchActivity x:Name="ID6">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID6" />
			</IfElseBranchActivity.Condition>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID10" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double0" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID11" FieldName="ITLastQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double1" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID9" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="calc" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double0" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double1" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID14" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int321}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID13" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int321}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double2" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID12" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double2" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="calc" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID16" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int322}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable0}" x:Name="ID17" />
			<ns0:AddToHashtableActivity x:Name="ID18" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable0}" Key="ITQuantity" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int322}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable0}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID15" />
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID20" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double3" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:SetFieldActivity x:Name="ID19" FieldName="ITLastQuantity" __Context="{ActivityBind ROOT,Path=__context}" __ListId="{ActivityBind ROOT,Path=__list}" __ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:SetFieldActivity.Value>
					<ActivityBind Name="ROOT" Path="_x005f_Double3" />
				</ns0:SetFieldActivity.Value>
			</ns0:SetFieldActivity>
			<TerminateActivity x:Name="ID23" Error="Completed" />
		</IfElseBranchActivity>
	</IfElseActivity>
	<IfElseActivity x:Name="ID25" Description="Adjust item for changes to the order">
		<IfElseBranchActivity x:Name="ID24">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID24" />
			</IfElseBranchActivity.Condition>
			<ns0:FindValueActivity x:Name="ID36" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int323}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID35" FieldName="ITQuantityOnOrder" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int323}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double4" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID37" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double5" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID34" ValueType="System.Double" Operator="add">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double4" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double5" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID39" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int324}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable1}" x:Name="ID40" />
			<ns0:AddToHashtableActivity x:Name="ID41" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable1}" Key="ITQuantityOnOrder" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int324}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable1}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID38" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID27">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID27" />
			</IfElseBranchActivity.Condition>
			<ns0:FindValueActivity x:Name="ID44" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int325}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID43" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int325}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double6" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID45" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double7" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID42" ValueType="System.Double" Operator="add">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double6" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double7" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID47" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int326}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable2}" x:Name="ID48" />
			<ns0:AddToHashtableActivity x:Name="ID49" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable2}" Key="ITQuantity" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int326}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable2}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID46" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID28">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID28" />
			</IfElseBranchActivity.Condition>
			<ns0:FindValueActivity x:Name="ID53" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int327}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID52" FieldName="ITQuantityOnOrder" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int327}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double8" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID54" FieldName="ITLastQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double9" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID51" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double8" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double9" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID56" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int328}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable3}" x:Name="ID57" />
			<ns0:AddToHashtableActivity x:Name="ID58" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable3}" Key="ITQuantityOnOrder" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int328}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable3}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID55" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID29">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID29" />
			</IfElseBranchActivity.Condition>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID60" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double10" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID61" FieldName="ITLastQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double11" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID59" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="calc6" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double10" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double11" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID66" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int329}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID65" FieldName="ITQuantityOnOrder" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int329}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double12" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID62" ValueType="System.Double" Operator="add">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double12" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="calc6" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID68" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3210}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable4}" x:Name="ID69" />
			<ns0:AddToHashtableActivity x:Name="ID70" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable4}" Key="ITQuantityOnOrder" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3210}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable4}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID67" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID30">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID30" />
			</IfElseBranchActivity.Condition>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID75" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double14" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:FindValueActivity x:Name="ID81" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3211}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID80" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3211}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double13" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID72" ValueType="System.Double" Operator="add">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double13" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double14" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID77" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3212}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable5}" x:Name="ID78" />
			<ns0:AddToHashtableActivity x:Name="ID79" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable5}" Key="ITQuantity" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3212}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable5}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID76" />
			<ns0:FindValueActivity x:Name="ID84" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3213}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID83" FieldName="ITQuantityOnOrder" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3213}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double15" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID85" FieldName="ITLastQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double16" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID82" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double15" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double16" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID87" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3214}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable6}" x:Name="ID88" />
			<ns0:AddToHashtableActivity x:Name="ID89" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable6}" Key="ITQuantityOnOrder" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3214}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable6}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID86" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID31">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID31" />
			</IfElseBranchActivity.Condition>
			<ns0:FindValueActivity x:Name="ID92" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3215}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID91" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3215}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double17" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID93" FieldName="ITLastQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double18" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID90" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double17" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double18" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID95" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3216}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable7}" x:Name="ID96" />
			<ns0:AddToHashtableActivity x:Name="ID97" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable7}" Key="ITQuantity" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3216}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable7}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID94" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID32">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID32" />
			</IfElseBranchActivity.Condition>
			<ns0:FindValueActivity x:Name="ID105" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3217}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID104" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3217}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double20" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID106" FieldName="ITLastQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double21" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID103" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double20" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double21" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID110" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3218}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID109" FieldName="ITQuantityOnOrder" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3218}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double22" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID111" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double23" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID108" ValueType="System.Double, mscorlib" Operator="add">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="calc12" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double22" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double23" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID113" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3219}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable8}" x:Name="ID114" />
			<ns0:AddToHashtableActivity x:Name="ID115" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable8}" Key="ITQuantity" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:AddToHashtableActivity x:Name="ID116" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable8}" Key="ITQuantityOnOrder" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="calc12" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3219}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable8}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID112" />
		</IfElseBranchActivity>
		<IfElseBranchActivity x:Name="ID33">
			<IfElseBranchActivity.Condition>
				<RuleConditionReference ConditionName="__Rule_ID33" />
			</IfElseBranchActivity.Condition>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID130" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double19" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID131" FieldName="ITLastQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double25" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID129" ValueType="System.Double" Operator="sub">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="calc13" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double19" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="_x005f_Double25" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID134" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int320}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID133" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int320}">
				<ns0:LookupActivity.ReturnValue>
					<ActivityBind Name="ROOT" Path="_x005f_Double26" />
				</ns0:LookupActivity.ReturnValue>
			</ns0:LookupActivity>
			<ns0:MathActivity x:Name="ID132" ValueType="System.Double" Operator="add">
				<ns0:MathActivity.Variable>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:MathActivity.Variable>
				<ns0:MathActivity.Operand1>
					<ActivityBind Name="ROOT" Path="_x005f_Double26" />
				</ns0:MathActivity.Operand1>
				<ns0:MathActivity.Operand2>
					<ActivityBind Name="ROOT" Path="calc13" />
				</ns0:MathActivity.Operand2>
			</ns0:MathActivity>
			<ns0:FindValueActivity x:Name="ID136" ReturnValue="{ActivityBind ROOT,Path=_x005f_Int3221}" ExternalFieldName="ID" __Context="{ActivityBind ROOT,Path=__context}" ValueType="System.Int32" ExternalListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%">
				<ns0:FindValueActivity.FindValue>
					<ActivityBind Name="ROOT" Path="InventoryID" />
				</ns0:FindValueActivity.FindValue>
			</ns0:FindValueActivity>
			<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable10}" x:Name="ID137" />
			<ns0:AddToHashtableActivity x:Name="ID138" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable10}" Key="ITQuantity" ValueType="System.Double">
				<ns0:AddToHashtableActivity.Value>
					<ActivityBind Name="ROOT" Path="NewQuantity" />
				</ns0:AddToHashtableActivity.Value>
			</ns0:AddToHashtableActivity>
			<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=_x005f_Int3221}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable10}" ListId="{}%TSATOK:ListId($Resources:tsa,inventoryList;)%" x:Name="ID135" />
		</IfElseBranchActivity>
	</IfElseActivity>
	<SequenceActivity x:Name="ID98" Description="Fixup transaction for future changes">
		<ns0:ClearHashtableActivity Collection="{ActivityBind ROOT,Path=_x005f_Hashtable9}" x:Name="ID120" />
		<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID122" FieldName="ITQuantity" LookupFunction="LookupDouble" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
			<ns0:LookupActivity.ReturnValue>
				<ActivityBind Name="ROOT" Path="_x005f_Double24" />
			</ns0:LookupActivity.ReturnValue>
		</ns0:LookupActivity>
		<ns0:AddToHashtableActivity x:Name="ID121" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable9}" Key="ITLastQuantity" ValueType="System.Double">
			<ns0:AddToHashtableActivity.Value>
				<ActivityBind Name="ROOT" Path="_x005f_Double24" />
			</ns0:AddToHashtableActivity.Value>
		</ns0:AddToHashtableActivity>
		<ns0:LookupActivity ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID124" FieldName="ITOrderStatus" LookupFunction="LookupString" __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}">
			<ns0:LookupActivity.ReturnValue>
				<ActivityBind Name="ROOT" Path="_x005f_String1" />
			</ns0:LookupActivity.ReturnValue>
		</ns0:LookupActivity>
		<ns0:AddToHashtableActivity x:Name="ID123" Collection="{ActivityBind ROOT,Path=_x005f_Hashtable9}" Key="ITLastOrderStatus" ValueType="System.String">
			<ns0:AddToHashtableActivity.Value>
				<ActivityBind Name="ROOT" Path="_x005f_String1" />
			</ns0:AddToHashtableActivity.Value>
		</ns0:AddToHashtableActivity>
		<ns0:UpdateItemActivity __Context="{ActivityBind ROOT,Path=__context}" ListItem="{ActivityBind ROOT,Path=__item}" ItemProperties="{ActivityBind ROOT,Path=_x005f_Hashtable9}" ListId="{}%TSATOK:ListId($Resources:tsa,transactionsList;)%" x:Name="ID119" />
	</SequenceActivity>
</ns0:RootWorkflowActivityWithData>
